import { defineFakeRoute } from 'vite-plugin-fake-server/client';
import * as user from './data/user.js';

export default defineFakeRoute([
  {
    url: '/system/user/deptTree',
    method: 'get',
    response: () => {
      return user.deptTree;
    }
  }
]);
